import React from 'react';
import { Card, Descriptions } from 'antd';

class ViewPage extends React.Component<any, any> {
    render() {
        const { data } = this.props
        return (
            <Card>
                <Descriptions title="采购单">
                    <Descriptions.Item label="采购单号">{data.poNum}</Descriptions.Item>
                    <Descriptions.Item label="采购日期">{data.orderDate}</Descriptions.Item>
                    <Descriptions.Item label="采购员">{data.buyerID}</Descriptions.Item>
                    <Descriptions.Item label="供应商">{data.vendorNum}</Descriptions.Item>
                    <Descriptions.Item label="采购员">{data.poType}</Descriptions.Item>
                </Descriptions>
            </Card>
        )
    }
}
export default ViewPage;